package com.chaopei.providerserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import java.util.logging.Logger;

@EnableEurekaClient//服务提供者
@SpringBootApplication
public class ProviderServerApplication {

    static Logger logger = Logger.getLogger("provider");

    public static void main(String[] args) {
        SpringApplication.run(ProviderServerApplication.class, args);
        logger.info("服务提供者已启动");
        //logger.info("provider8084已启动");
    }

}
